package com.naiterui.ehp.bs.cms.modules.recommend.mapper;

import org.apache.ibatis.annotations.Param;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.naiterui.ehp.bs.cms.common.constants.DsName;
import com.naiterui.ehp.bs.cms.modules.recommend.entity.RecomAuditLog;
import com.naiterui.ehp.bs.cms.modules.recommend.vo.MedicationRecomDetailVO;
import com.naiterui.ehp.bs.cms.modules.recommend.vo.MedicationRecomVO;

/**
 * @author guoyongxiang
 * @date 2019-06-19 15:55
 * @since 1.0.0
 */
@DS(DsName.EHP)
public interface RecomAuditLogMapper extends BaseMapper<RecomAuditLog> {

    Page<MedicationRecomVO> getPage(@Param("page") IPage<MedicationRecomVO> page, @Param("ew") Wrapper<MedicationRecomVO> entityWrapper);

    MedicationRecomDetailVO getDetail(@Param("recomId") Long recomId);
}
